package com.lingnan.cmsservice.service;

import com.lingnan.cmsservice.entity.CrmBanner;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 首页banner表 服务类
 * </p>
 *
 * @author zzd
 * @since 2021-08-30
 */
public interface CrmBannerService extends IService<CrmBanner> {


    /**
     * 查询时间最靠前的5条banner信息
     * @return
     */
    List<CrmBanner> findBanner();
}
